#ifndef GMClientDisconnectRequest_h__
#define GMClientDisconnectRequest_h__

#include "GameMessage.h"

class GMClientDisconnectRequest : public GameMessage
{
public:
    GMClientDisconnectRequest() : m_clientID(0) {}
    virtual void WriteToSckMsg( Networking::SockMsg* sm );
    virtual bool Execute();
    virtual bool ReadFromSckMsg(Networking::SockMsg* sm );
    virtual const char* GetTypeName() const;
    void SetID(int id){m_clientID = id;}
    int GetID(){return m_clientID;}

public:
    static const char* NAME;

private:
    int m_clientID;
};

#endif // GMClientDisconnectRequest_h__
